package com.AJava1710D.设计模式.策略模式;

import org.springframework.beans.factory.InitializingBean;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2020/10/12  11:30
 * 描述:
 */
public class CeLue2 implements CeLueHandler,InitializingBean {
    @Override
    public int doHanlder(int status) {
        return 2;
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        CeLueFactory.registerCeLue("2",this);
    }
}
